The chmod command allows you to change the permissions on a file using either a symbolic or numeric mode or a reference file. We will explain ... Linux File Permissions · Using chmod · Recursively Change the File's...
Refer to the manual ( man chmod ): -R, --recursive change files and directories recursively chmod -R 755 /path/to/directory would perform what you want.